Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUGFIX: Do not parse anchor tags within code blocks #64

Merged
merged 7 commits into from
Nov 7, 2024

Conversation

carbontwelve
Copy link
Contributor

This PR fixes #53 via using JSDOM to parse anchor tags within an HTML document excluding those within <pre> or <code> blocks as well as any that do not begin their href attribute with a forward slash (/).

@carbontwelve carbontwelve changed the base branch from main to v1.1.0 November 7, 2024 00:56
@carbontwelve carbontwelve merged commit 3f81a6a into v1.1.0 Nov 7, 2024
9 checks passed
@carbontwelve carbontwelve deleted the patch/v1.1.0/#53 branch November 7, 2024 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: do not parse wikilinks existing within pre or code tags
1 participant